import { request } from '@/utils/request'
import ApiPrefix from '@/config/prefix'
import type { ResponseIPage, ResponseType } from '@/interface/core/entity'
import { MixerConcreteSort, MixerConcreteSortQuery ,MixerConcreteDictQuery, MixerConcreteDict} from './typings'

export const getConcreteSortPage = (params: MixerConcreteSortQuery) => {
  return request.post<ResponseIPage<MixerConcreteSort>, MixerConcreteSortQuery>(
    `${ApiPrefix.platformApi}/MixerConcrete/Sort/Query`,
    params
  )
}
export const getConcreteDictPage = (params: MixerConcreteDictQuery) => {
    return request.post<ResponseIPage<MixerConcreteDict>, MixerConcreteDictQuery>(
      `${ApiPrefix.platformApi}/MixerConcrete/Dtl/Query`,
      params
    )
  }
  